<?

session_start();

require("../../classCol.php");
require("../../helpers/html.php");
require("../models/fetchers.php");

$COracle = new oracleDb;
$COracle->init($_SESSION["ORCL"], 
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);

$srcDbConvertion = "MST_MODEL_UNIT";
   
if($COracle->connect()){
  
  fetchLstConvertion($COracle,
                     $_POST["srcLevelD"],
                     $_POST["srcUnit"],
                     $srcDbConvertion,
                     $lstConvertion);
                
  initDropDownContent($lstConvertion,
      		            _RET_NULL,
      		            $optLstConvertion);
  
  echo  $optLstConvertion;
  
  $COracle->dc();
}else{
  
  return "****";
}

?>